import request from '@/utils/request'

export function getdepartlist(data) {
  return request({
    url: '/department/getdepartlist',
    method: 'post',
    data
  })
}
export function switchAccount(data) {
  return request({
    url: '/department/switchAccount',
    method: 'post',
    params: data
  })
}
